(ns_draw_vertical_window_border): Draw 1 pixel wide, not two, and
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Fri, 6 Mar 2009 15:29:50 +0000 (15:29 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Fri, 6 Mar 2009 15:29:50 +0000 (15:29 +0000)
use NSRectFill instead of NSDrawGroove.

src/nsterm.m

index f5458fc0fd0e33ffe0a40ed56777bcb7fdb06265..6ebf49f77c10b3f42e25ba1a21e2a5638e2093eb 100644 (file)
@@ -2454,7 +2454,7 @@ ns_draw_vertical_window_border (struct window *w, int x, int y0, int y1)
 {
   struct frame *f = XFRAME (WINDOW_FRAME (w));
   struct face *face;
-  NSRect r = NSMakeRect (x, y0, 2, y1-y0);
+  NSRect r = NSMakeRect (x, y0, 1, y1-y0);
 
   NSTRACE (ns_draw_vertical_window_border);
 
@@ -2463,7 +2463,7 @@ ns_draw_vertical_window_border (struct window *w, int x, int y0, int y1)
       [ns_lookup_indexed_color(face->foreground, f) set];
 
   ns_focus (f, &r, 1);
-  NSDrawGroove (r, r);
+  NSRectFill(r);
   ns_unfocus (f);
 }